package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcSetMeal;
import com.csun.cmny.provider.model.vo.SetMealVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OmcSetMealService extends IService<OmcSetMeal> {

    /**
     * 保存套餐
     *
     * @param: [setMealDto, loginAuthDto]
     * @return: java.lang.Integer
     */
    Integer saveSetMeal(OmcSetMeal setMealDto, LoginAuthDto loginAuthDto);

    /**
     * 分页查询
     * @param: [omcSetMealQuery]
     * @return: com.github.pagehelper.PageInfo
     */
    PageInfo queryListWithPage(OmcSetMeal omcSetMealQuery);

    /**
     * 套餐详情
     * @param: [setMealId]
     * @return: com.csun.cmny.provider.model.vo.SetMealVo
     */
    SetMealVo getById(Long setMealId);

    /**
     * 设置套餐退费标准
     * @param: [omcSetMealQuery]
     * @return: java.lang.Integer
     */
    Integer setReturnStandard(OmcSetMeal omcSetMealQuery);

    /**
     * 改变套餐启用状态
     * @param: [setMealId]
     * @return: java.lang.Integer
     */
    Integer changeStatus(Long setMealId);

    /**
     * 套餐管理-删除
     * @param: [setMealId]
     * @return: java.lang.Integer
     */
    Integer deleteById(Long setMealId);

    /**
     * 查询全部套餐
     * @param: [omcSetMeal]
     * @return: java.util.List<com.csun.cmny.provider.model.vo.SetMealVo>
     */
    List<OmcSetMeal> queryAll(OmcSetMeal omcSetMeal);
}
